import Layout from "@/views/layout/index.vue";
import { RouteRecordRaw } from "vue-router";

const directive: RouteRecordRaw = {
    name:'directive',
    path:'/directive',
    component: Layout,
    redirect:'/directive/draggable',
    children:[
        {
            name:'draggable',
            path:'draggable',
            component: () => import('@/views/directive/draggable.vue')
        },
        {
            name: 'waterMarker',
            path: 'waterMarker',
            component: () => import('@/views/directive/waterMarker.vue')
        }
    ]
}

export default directive